Imports System.Drawing

Namespace Overlay.Series
    Public MustInherit Class SeriesBase
        Protected msName As String
        Protected moColor As Color
        Protected msnOpacity As Single

        Protected moValues As Single()

        Public Overridable Property Values() As Single()
            Get
                Return moValues
            End Get
            Set(ByVal value As Single())
                moValues = value
            End Set
        End Property

        Public Overridable Property Name() As String
            Get
                Return msName
            End Get
            Set(ByVal value As String)
                msName = value
            End Set
        End Property

        Public Overridable Property Color() As Color
            Get
                Return moColor
            End Get
            Set(ByVal value As Color)
                moColor = value
            End Set
        End Property

        Public Overridable Property Opacity() As Single
            Get
                Return msnOpacity
            End Get
            Set(ByVal value As Single)
                msnOpacity = value
            End Set
        End Property

        Friend Overridable ReadOnly Property AlphaValue() As Integer
            Get
                Return msnOpacity * 255
            End Get
        End Property

    End Class
End Namespace